<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Tin mới</title>
</head>

<body>
<?php
include("kn.php");
$lenh = "select * from tin order by ngay desc limit 0,8";
$kq = mysql_query($lenh);



?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td style="padding-left:5px">
    <?php
	while($row = mysql_fetch_array($kq))
	{
		?>
        <a href="index.php?idtin=<?php echo $row[0];    ?>">
        <?php   
		echo $row[1];
		
		?></a>
        <br/>
        <?php
		
		
	}
	?>
    </td>
  </tr>
</table>
</body>
</html>